X-Git-Url: https://shimmer.witbreuk.eu/gitweb/UltimateKEYS.git/blobdiff_plain/cf6f43873335c3372299d25f7d57a04df622cb04..ecdeec16af0f9bb683afa8a4a47c9c95fc9baeff:/autohotkey-v2.0/UltimateKEYS%20(for%20AutoHotkey%20v2.0).ahk diff --git a/autohotkey-v2.0/UltimateKEYS (for AutoHotkey v2.0).ahk b/autohotkey-v2.0/UltimateKEYS (for AutoHotkey v2.0).ahk index 02a9a8e..64140e1 100644 --- a/autohotkey-v2.0/UltimateKEYS (for AutoHotkey v2.0).ahk +++ b/autohotkey-v2.0/UltimateKEYS (for AutoHotkey v2.0).ahk @@ -1,4 +1,4 @@ -; UltimateKEYS (for AutoHotkey v2.0).ahk - 2022-06-04 +; UltimateKEYS (for AutoHotkey v2.0).ahk - 2022-08-25 ; Website : www.ultimatekeys.info (pieter-degroote.github.io/UltimateKEYS/) @@ -20,7 +20,7 @@ KeyHistory 0 ; disables the key history (for privacy and security) SendMode "Input" ; optimizes for faster and more reliable input -global dkEndKeys := "{bs}{del}{esc}{home}{end}" ; ends dead key input on specific keys +global gEndKeys := "{bs}{del}{esc}{home}{end}" ; ends dead key input on specific keys ; Compose : Circumflex Accent (c) @@ -212,7 +212,7 @@ cmpMacronStrokeAdd["y"] := "{u+024f}" ; (ɏ) y with stroke cmpMacronStrokeAdd["Y"] := "{u+024e}" ; (Ɏ) Y with stroke -; Compose : Stroke (/) +; Compose : Oblique/Diagonal Stroke (/) global cmpStroke := Map() cmpStroke["a"] := "{u+2c65}" ; (ⱥ) a with stroke @@ -517,20 +517,20 @@ cmpHook["Z"] := "{u+0224}" ; (Ȥ) Z with hook global cmpLatinGreek := Map() cmpLatinGreek["a"] := "{u+0251}" ; (ɑ) latin small letter alpha cmpLatinGreek["A"] := "{u+2c6d}" ; (Ɑ) latin capital letter alpha -cmpLatinGreek["c"] := "{u+ab36}" ; (ꬶ) cross-tailed g -cmpLatinGreek["e"] := "{u+025b}" ; (ɛ) small open e (latin small epsilon) -cmpLatinGreek["E"] := "{u+0190}" ; (Ɛ) capital open E (latin capital epsilon) -cmpLatinGreek["f"] := "{u+017f}" ; (ſ) small long s -cmpLatinGreek["F"] := "{u+1e9b}" ; (ẛ) small long s with dot above -cmpLatinGreek["g"] := "{u+0263}" ; (ɣ) latin small gamma -cmpLatinGreek["G"] := "{u+0194}" ; (Ɣ) latin capital gamma +cmpLatinGreek["c"] := "{u+ab36}" ; (ꬶ) small letter script g with crossed-tail +cmpLatinGreek["e"] := "{u+025b}" ; (ɛ) small letter open e (latin small epsilon) +cmpLatinGreek["E"] := "{u+0190}" ; (Ɛ) capital letter open E (latin capital epsilon) +cmpLatinGreek["f"] := "{u+017f}" ; (ſ) small letter long s +cmpLatinGreek["F"] := "{u+1e9b}" ; (ẛ) long s with dot above +cmpLatinGreek["g"] := "{u+0263}" ; (ɣ) latin small letter gamma +cmpLatinGreek["G"] := "{u+0194}" ; (Ɣ) latin capital letter gamma cmpLatinGreek["h"] := "{u+a727}" ; (ꜧ) small letter heng cmpLatinGreek["H"] := "{u+a726}" ; (Ꜧ) capital letter heng cmpLatinGreek["i"] := "{u+0269}" ; (ɩ) latin small letter iota cmpLatinGreek["I"] := "{u+0196}" ; (Ɩ) latin capital letter iota cmpLatinGreek["k"] := "{u+0138}" ; (ĸ) small letter kra -cmpLatinGreek["o"] := "{u+0254}" ; (ɔ) small open o -cmpLatinGreek["O"] := "{u+0186}" ; (Ɔ) capital open O +cmpLatinGreek["o"] := "{u+0254}" ; (ɔ) small letter open o +cmpLatinGreek["O"] := "{u+0186}" ; (Ɔ) capital letter open O cmpLatinGreek["s"] := "{u+0283}" ; (ʃ) small letter esh cmpLatinGreek["S"] := "{u+01a9}" ; (Ʃ) capital letter esh cmpLatinGreek["u"] := "{u+028a}" ; (ʊ) latin small letter upsilon @@ -540,14 +540,15 @@ cmpLatinGreek["U"] := "{u+01b1}" ; (Ʊ) latin capital letter upsilon ; Compose : Turned Letters (t) global cmpTurned := Map() -cmpTurned["a"] := "{u+0250}" ; (ɐ) small turned a -cmpTurned["A"] := "{u+2c6f}" ; (Ɐ) capital turned A -cmpTurned["e"] := "{u+01dd}" ; (ǝ) small turned e -cmpTurned["E"] := "{u+018e}" ; (Ǝ) capital reversed E +cmpTurned["a"] := "{u+0250}" ; (ɐ) latin small letter turned a +cmpTurned["A"] := "{u+2c6f}" ; (Ɐ) latin capital letter turned A +cmpTurned["e"] := "{u+01dd}" ; (ǝ) latin small letter turned e +cmpTurned["E"] := "{u+018e}" ; (Ǝ) latin capital letter reversed E cmpTurned["q"] := "{u+0252}" ; (ɒ) latin small letter turned alpha cmpTurned["Q"] := "{u+2c70}" ; (Ɒ) latin capital letter turned alpha cmpTurned["v"] := "{u+028c}" ; (ʌ) latin small letter turned v cmpTurned["V"] := "{u+0245}" ; (Ʌ) latin capital letter turned V +cmpTurned["y"] := "{u+028e}" ; (ʎ) latin small letter turned y ; Compose : Currency Symbols ($) @@ -766,19 +767,15 @@ cmpSymbols["a"] := "{u+214d}" ; (⅍) aktieselskab cmpSymbols["c"] := "{u+2105}" ; (℅) care of cmpSymbols["d"] := "{u+22c4}" ; (⋄) diamond operator cmpSymbols["e"] := "{u+212e}" ; (℮) estimated symbol -cmpSymbols["E"] := "{u+2709}" ; (✉) envelope cmpSymbols["f"] := "{u+2640}" ; (♀) Venus symbol (female) -cmpSymbols["g"] := "{u+2740}" ; (❀) white florette -cmpSymbols["G"] := "{u+273f}" ; (✿) black florette -cmpSymbols["h"] := "{u+2766}" ; (❦) floral heart -cmpSymbols["H"] := "{u+2767}" ; (❧) rotated floral heart bullet cmpSymbols["i"] := "{u+2300}" ; (⌀) diameter sign cmpSymbols["l"] := "{u+2113}" ; (ℓ) script small l cmpSymbols["L"] := "{u+2112}" ; (ℒ) Laplace transform cmpSymbols["m"] := "{u+2642}" ; (♂) Mars symbol (male) cmpSymbols["M"] := "{u+2120}" ; (℠) service mark +cmpSymbols["n"] := "{u+2709}" ; (✉) envelope cmpSymbols["q"] := "{u+2126}" ; (Ω) ohm sign (backwards compatibility) -cmpSymbols["r"] := "{u+2619}" ; (☙) reversed rotated floral heart bullet +cmpSymbols["r"] := "{u+211e}" ; (℞) prescription take (Recipere) cmpSymbols["R"] := "{u+211e}" ; (℞) prescription take (Recipere) cmpSymbols["t"] := "{u+2706}" ; (✆) telephone location sign cmpSymbols["v"] := "{u+2713}" ; (✓) check mark @@ -805,6 +802,18 @@ cmpSymbols["."] := "{u+2e18}" ; (⸘) inverted interrobang cmpSymbols["/"] := "{u+2e2e}" ; (⸮) reversed question mark +; Compose : Florette and Floral Heart Symbols (f) + +global cmpFlorette := Map() +cmpFlorette["r"] := "{u+2619}" ; (☙) reversed rotated floral heart bullet +cmpFlorette["6"] := "{u+273e}" ; (✾) six petalled black and white florette +cmpFlorette["b"] := "{u+273f}" ; (✿) black florette +cmpFlorette["w"] := "{u+2740}" ; (❀) white florette +cmpFlorette["8"] := "{u+2741}" ; (❁) eight petalled outlined black florette +cmpFlorette["f"] := "{u+2766}" ; (❦) floral heart +cmpFlorette["h"] := "{u+2767}" ; (❧) rotated floral heart bullet + + ; Compose : Playing Card Suit Symbols (S) global cmpPlayingCardSuit := Map() @@ -938,7 +947,6 @@ global cmpSmallN := Map() global cmpCapitalN := Map() global cmpCapitalP := Map() global cmpSmallR := Map() -global cmpSemicolon := Map() global cmpAsterisk := Map() global cmpExclam := Map() global cmpQuestion := Map() @@ -963,11 +971,6 @@ cmpSmallR["4"] := "{u+221c}" ; (∜) fourth root cmpSymbols["o"] := "{u+00a7}" ; (§) section sign cmpPlayingCardSuit["o"] := "{u+00a7}" ; (§) section sign cmpTurned["m"] := "{u+2122}" ; (™) trademark symbol -cmpSemicolon["b"] := "{u+2022}" ; (•) bullet -cmpSemicolon[";"] := "{u+2022}" ; (•) bullet -cmpSemicolon["t"] := "{u+2023}" ; (‣) triangular bullet -cmpSemicolon["h"] := "{u+2043}" ; (⁃) hyphen bullet -cmpSemicolon["w"] := "{u+25e6}" ; (◦) white bullet cmpAcuteAccent["1"] := "{u+2032}" ; (′) prime cmpAcuteAccent["2"] := "{u+2033}" ; (″) double prime cmpAcuteAccent["3"] := "{u+2034}" ; (‴) triple prime @@ -1006,6 +1009,25 @@ cmpBracketLeft["y"] := "{u+2611}" ; (☑) ballot box with check cmpBracketLeft["x"] := "{u+2612}" ; (☒) ballot box with x +; Compose : Bullets and Arrowheads (;) + +global cmpSemicolon := Map() +cmpSemicolon["a"] := "{u+27a4}" ; (➤) black rightwards arrowhead +cmpSemicolon["b"] := "{u+2022}" ; (•) bullet +cmpSemicolon[";"] := "{u+2022}" ; (•) bullet +cmpSemicolon["d"] := "{u+27a5}" ; (➥) heavy black curved downwards and rightwards arrow +cmpSemicolon["h"] := "{u+2043}" ; (⁃) hyphen bullet +cmpSemicolon["-"] := "{u+2043}" ; (⁃) hyphen bullet +cmpSemicolon["p"] := "{u+27a8}" ; (➨) heavy concave-pointed black rightwards arrow +cmpSemicolon["q"] := "{u+27a7}" ; (➧) squat black rightwards arrow +cmpSemicolon["r"] := "{u+27a1}" ; (➡) black rightwards arrow +cmpSemicolon["t"] := "{u+2023}" ; (‣) triangular bullet +cmpSemicolon["u"] := "{u+27a6}" ; (➦) heavy black curved upwards and rightwards arrow +cmpSemicolon["w"] := "{u+25e6}" ; (◦) white bullet +cmpSemicolon["3"] := "{u+27a2}" ; (➢) 3d top-lighted rightwards arrowhead +cmpSemicolon["#"] := "{u+27a3}" ; (➣) 3d bottom-lighted rightwards arrowhead + + ; Compose : Quotation Marks global cmpBracketRight := Map() @@ -1509,11 +1531,11 @@ cmpCapitalU["``"] := "{u+01db}" ; (Ǜ) U with diaeresis and grave >!`:: >!~:: { - ihA := InputHook("L1", dkEndKeys) + ihA := InputHook("L1", gEndKeys) ihA.Start() ihA.Wait() - ihB := InputHook("L1", dkEndKeys) + ihB := InputHook("L1", gEndKeys) ihB.Start() ihB.Wait() @@ -1629,6 +1651,10 @@ cmpCapitalU["``"] := "{u+01db}" ; (Ǜ) U with diaeresis and grave if cmpSymbols.Has(ihB.Input) Send cmpSymbols[ihB.Input] } + else if (ihA.Input == "f") { + if cmpFlorette.Has(ihB.Input) + Send cmpFlorette[ihB.Input] + } else if (ihA.Input == "S") { if cmpPlayingCardSuit.Has(ihB.Input) Send cmpPlayingCardSuit[ihB.Input] @@ -1709,10 +1735,6 @@ cmpCapitalU["``"] := "{u+01db}" ; (Ǜ) U with diaeresis and grave if cmpSmallR.Has(ihB.Input) Send cmpSmallR[ihB.Input] } - else if (ihA.Input == ";") { - if cmpSemicolon.Has(ihB.Input) - Send cmpSemicolon[ihB.Input] - } else if (ihA.Input == "*") { if cmpAsterisk.Has(ihB.Input) Send cmpAsterisk[ihB.Input] @@ -1749,6 +1771,10 @@ cmpCapitalU["``"] := "{u+01db}" ; (Ǜ) U with diaeresis and grave if cmpBracketLeft.Has(ihB.Input) Send cmpBracketLeft[ihB.Input] } + else if (ihA.Input == ";") { + if cmpSemicolon.Has(ihB.Input) + Send cmpSemicolon[ihB.Input] + } else if (ihA.Input == "]") { if cmpBracketRight.Has(ihB.Input) Send cmpBracketRight[ihB.Input]